﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;


/// <summary>
/// 文本读取类
/// </summary>
public static class TextReadUtils
{
    
    public static string playerName = "%playername%";
    
    public static string GetRightTextFromText(string inputText)
    {
        string text = Regex.Replace(inputText, playerName, Req.userInfo.user_data.nickname);
        return text;
    }
}

